]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
dash: Make sure we clear the timeout IDs for the label tooltip
authorJasper St. Pierre <jstpierre@mecheye.net>
Sat, 9 Nov 2013 16:11:01 +0000 (11:11 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Sat, 9 Nov 2013 16:44:44 +0000 (11:44 -0500)
https://bugzilla.gnome.org/show_bug.cgi?id=711732

js/ui/dash.js

index 13651fa4c93a7bc0f2e1c3adeab7c0994a4a88ab..3c5e89d81a458f0748edf9279ed203c051735c91 100644 (file)
@@ -576,6 +576,7 @@ const Dash = new Lang.Class({
                     Lang.bind(this, function() {
                         this._labelShowing = true;
                         item.showLabel();
+                        this._showLabelTimeoutId = 0;
                         return false;
                     }));
                 if (this._resetHoverTimeoutId > 0) {
@@ -592,6 +593,7 @@ const Dash = new Lang.Class({
                 this._resetHoverTimeoutId = Mainloop.timeout_add(DASH_ITEM_HOVER_TIMEOUT,
                     Lang.bind(this, function() {
                         this._labelShowing = false;
+                        this._resetHoverTimeoutId = 0;
                         return false;
                     }));
             }